package com.wsx.ones.cloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;

/**
 * Created by wangshuaixin on 17/5/4.
 */
@SpringBootApplication
@EnableConfigServer
public class ConfigBootstrap {

    //http://localhost:8888/{application}/{profile}/{label}

    //{application}/{profile}[/{label}]
    //{application}-{profile}.yml
    //{label}/{application}-{profile}.yml
    //{application}-{profile}.properties
    //{label}/{application}-{profile}.properties

    public static void main(String[] args) {
        SpringApplication.run(ConfigBootstrap.class, args);
    }
}
